package model;

import java.io.Serializable;

public class ChosenAction implements Serializable
{
	private final Action action;
	
	private int amountRaised;

	private boolean determinedByRules = false;
	
	private boolean obligatory = false;
	
	public ChosenAction(Action action)
	{
		this.action = action;
	}
	
	public Action getAction()
	{
		return action;
	}
	
	public void setAmountRaised(int amountRaised)
	{
		this.amountRaised = amountRaised;
	}
	
	public int getAmountRaised()
	{
		return amountRaised;
	}
	
	public void isDeterminedByRules(boolean determinedByRules)
	{
		this.determinedByRules = determinedByRules;
	}
	
	public boolean isDeterminedByRules()
	{
		return determinedByRules;
	}
	
	public void isObligatory(boolean obligatory)
	{
		this.obligatory = obligatory;
	}
	
	public boolean isObligatory()
	{
		return obligatory;
	}
}
